package com.yc.jiushujie.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author 无罪
 * @since 2022-08-03
 */
@TableName("jsj_order")
public class JsjOrder implements Serializable {

    private static final long serialVersionUID = 1L;

      @TableId(value = "id", type = IdType.AUTO)
      private Integer id;

    private Integer uid;

    private String addrName;

    private String addrPhone;

    private String addrDesc;

    private Double money;

    private LocalDateTime createTime;

      /**
     * 状态：0未付款，1已付款，2已发货，3已收货，4已评论
     */
      private Integer state;

      /**
     * 备注
     */
      private String remark;

    
    public Integer getId() {
        return id;
    }

      public void setId(Integer id) {
          this.id = id;
      }
    
    public Integer getUid() {
        return uid;
    }

      public void setUid(Integer uid) {
          this.uid = uid;
      }
    
    public String getAddrName() {
        return addrName;
    }

      public void setAddrName(String addrName) {
          this.addrName = addrName;
      }
    
    public String getAddrPhone() {
        return addrPhone;
    }

      public void setAddrPhone(String addrPhone) {
          this.addrPhone = addrPhone;
      }
    
    public String getAddrDesc() {
        return addrDesc;
    }

      public void setAddrDesc(String addrDesc) {
          this.addrDesc = addrDesc;
      }
    
    public Double getMoney() {
        return money;
    }

      public void setMoney(Double money) {
          this.money = money;
      }
    
    public LocalDateTime getCreateTime() {
        return createTime;
    }

      public void setCreateTime(LocalDateTime createTime) {
          this.createTime = createTime;
      }
    
    public Integer getState() {
        return state;
    }

      public void setState(Integer state) {
          this.state = state;
      }
    
    public String getRemark() {
        return remark;
    }

      public void setRemark(String remark) {
          this.remark = remark;
      }

    @Override
    public String toString() {
        return "JsjOrder{" +
              "id=" + id +
                  ", uid=" + uid +
                  ", addrName=" + addrName +
                  ", addrPhone=" + addrPhone +
                  ", addrDesc=" + addrDesc +
                  ", money=" + money +
                  ", createTime=" + createTime +
                  ", state=" + state +
                  ", remark=" + remark +
              "}";
    }
}
